package ModelLayer;



import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

/**
 * The test class LoanTest.
 *
 * @author  (your name)
 * @version (a version number or a date)
 */
public class LoanTest
{
    /**
     * Default constructor for test class LoanTest
     */
    public LoanTest()
    {
    }

    /**
     * Sets up the test fixture.
     *
     * Called before every test case method.
     */
    @Before
    public void setUp()
    {
    }

    /**
     * Tears down the test fixture.
     *
     * Called after every test case method.
     */
    @After
    public void tearDown()
    {
    }

    @Test
    public void LoanTest()
    {
        ModelLayer.Loan loan1 = new ModelLayer.Loan("123456", "121212", "12", "222222", "123456");
        loan1.getBorrowDate();
        loan1.getId();
        loan1.getPeriod();
        loan1.getPerson();
        loan1.getSerialNumber();
        loan1.isLending();
        loan1.setBorrowDate("13");
        loan1.setPeriod("10");
        loan1.setId("222222");
    }
}

